Skip to content

Customization

Mary can be customized to your liking.

For example, if you want to change her character, please feel free to do so.

Further down, you'll learn how to change character traits and requests.

Changing Character Traits

To change Mary's character, navigate to the following path:

./src/assets/character.js

You will see the variable systemPrompt; change it as you wish.

Changing Queries

To change the queries, go to the following path:

./src/assets/prompt.ts

This file contains all the prompts.

Change the User Analysis Prompt

Customize the userAnalysis function to suit your needs.

Change the Memory Compression Prompt

Customize the compressedMemory function.

Change the Connector Prompt:

NOTE

The connector is a neuron that combines the responses of other neurons into one.

Customize the connectorMary function.